import Toast from '../../../component/Toast';
import {routerRedux} from 'dva/router';

const defaultState = {
	
	/**
	 * 当前页面
	 */
	tab: 'store'
	
};

export default {

	namespace: 'home',
	
	state: {...defaultState},
	
	reducers: {
		
		/**
		 * 设置当前页面
		 */
		setTab(state, {tab}) {
			return {...state, tab};
		}
		
	},
	
	effects: {
		
	},
	
	subscriptions: {
		
	}
	
};